package com.shuai.frame.fault.retry;

import com.shuai.frame.model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * @author bxs
 * @version 1.0
 * @Time 2024/7/28
 */
public interface RetryStrategy {
    RpcResponse doRetry(Callable<RpcResponse> callable) throws Exception;
}
